#!/usr/bin/env bash

# 编译应用

source ./common.sh

log INFO "build begin ..."
go install -v . && mv $GOPATH/bin/server $GOPATH/bin/zqc
if [[ $? != 0 ]]; then
  log ERROR "build failed"
  exit 1
fi
log INFO "build ok"

exit 0